package com.leenmvc.core.utils.amap;

/**
 * @Author: JohnCoding
 * @Description: 电子围栏更新实体
 * @date: 2020/5/27 14:51
 */
public class AmapRoundUpdateDTO {


    /**
     * name : 更新圆形围栏
     * center : 116.328037,39.962379
     * radius : 1148.8
     * valid_time : 2017-06-30
     * repeat : Mon,Wed,Fri,Sat,Sun
     * time : 07:00,12:00;15:00,21:00
     * desc : 更新圆形围栏描述
     * alert_condition : enter
     */
    private String id;
    private String name;
    private String center;
    private String radius;
    private String valid_time;
    private String repeat;
    private String time;
    private String desc;
    private String alert_condition;
    private String fixed_date;

    public String getFixed_date() {
        return fixed_date;
    }

    public void setFixed_date(String fixed_date) {
        this.fixed_date = fixed_date;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCenter() {
        return center;
    }

    public void setCenter(String center) {
        this.center = center;
    }

    public String getRadius() {
        return radius;
    }

    public void setRadius(String radius) {
        this.radius = radius;
    }

    public String getValid_time() {
        return valid_time;
    }

    public void setValid_time(String valid_time) {
        this.valid_time = valid_time;
    }

    public String getRepeat() {
        return repeat;
    }

    public void setRepeat(String repeat) {
        this.repeat = repeat;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getAlert_condition() {
        return alert_condition;
    }

    public void setAlert_condition(String alert_condition) {
        this.alert_condition = alert_condition;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "AmapRoundUpdateDTO{" +
                "name='" + name + '\'' +
                ", center='" + center + '\'' +
                ", radius='" + radius + '\'' +
                ", valid_time='" + valid_time + '\'' +
                ", repeat='" + repeat + '\'' +
                ", time='" + time + '\'' +
                ", desc='" + desc + '\'' +
                ", alert_condition='" + alert_condition + '\'' +
                '}';
    }

    public String toJsonString() {
        return "{" +
                "\"id\":" + "\"" + id + "\"" +
                ", \"name\":" + "\"" + name + "\"" +
                ", \"center\":" + "\"" + center + "\"" +
                ", \"radius\":" + "\"" + radius + "\"" +
                ", \"valid_time\":" + "\"" + valid_time + "\"" +
                ", \"repeat\":" + "\"" + repeat + "\"" +
                ", \"time\":" + "\"" + time + "\"" +
                ", \"desc\":" + "\"" + desc + "\"" +
                ", \"alert_condition\":" + "\"" + alert_condition + "\"" +
                '}';
    }
}
